package com.hhc.query;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 *   教师授课任务查询参数封装对象
 * </p>
 * @author pc
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TeacherCourseAssignmentQuery {
    @NotNull(message = "教师用户ID不能为空")
    private Long teacherId;

    @NotBlank(message = "学期不能为空")
    private String semester;
}